<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <style>
    * {
      padding: 0;
      margin: 0;
    }
    .first {
      position: relative;
      width: 200px;
      height: 200px;
      background-color: pink;
      top: 20px;
      left: 30px;
    }
    .second {
      height: 200px;
      background-color: #cfa;
    }
  </style>
  <body>
    <div>
      <div class="first"></div>
      <div class="second"></div>
    </div>
  </body>
</html>
